<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
	template="/sistema/template/template.xhtml">

	<ui:define name="corpo">

		<p:outputLabel value="Cadastro de Atletas" styleClass="subtitulo" />

		<p:spacer height="25" width="100%" />

		<p:fieldset legend="#{label.informacoes_do_atleta}">

			<h:panelGrid columns="3" cellpadding="12" styleClass="colunaCentralizada">

				<h:panelGrid>
					<h:graphicImage value="/sistema/images/image-perfil.jpg" height="150" width="250" />
				</h:panelGrid>

				<h:panelGrid>

					<p:outputLabel value="Nome" />
					<p:inputText styleClass="nome" />

					<p:outputLabel value="Data de Nascimento" />
					<p:inputText styleClass="data" />

					<p:outputLabel value="RG" />
					<p:inputText styleClass="rg" />

				</h:panelGrid>

				<h:panelGrid width="150">

					<p:outputLabel value="Modalidades" />
					<p:selectManyCheckbox layout="pageDirection">
						<f:selectItem itemLabel="Livre ou Crawl" itemValue="0" />
						<f:selectItem itemLabel="Costas" itemValue="1" />
						<f:selectItem itemLabel="Peito" itemValue="2" />
						<f:selectItem itemLabel="Borboleta" itemValue="3" />
						<f:selectItem itemLabel="Revezamento" itemValue="4" />
					</p:selectManyCheckbox>

				</h:panelGrid>
				
			</h:panelGrid>
			
			<h:panelGrid columns="3" >

					<p:outputLabel value="Nome" />
					<p:outputLabel value="Data de Nascimento" />
					<p:outputLabel value="RG" />

					<p:inputText styleClass="nome" />

					<p:inputText styleClass="data" /> 

					<p:inputText styleClass="rg" />

				</h:panelGrid>

		</p:fieldset>

		<p:spacer height="30" />



		<p:fieldset legend="#{label.avaliacao}">



			<p:spacer height="30" />
			<center>#{label.area_info_aval}</center>
			Flag indicando se há acompanhamento nutricional
			<p:spacer height="30" />


		</p:fieldset>

		<p:spacer height="30" />


		<h:panelGrid style="text-align: right" width="100%">
			<p:column>
				<p:commandButton value="Voltar" action="/sistema/pages/atleta_busca?faces-redirect=true" />
				<p:commandButton value="Salvar" action="#{atletaBuscaMB.salvar}" />
			</p:column>
		</h:panelGrid>


	</ui:define>

</ui:composition>